<table class="table table-border table-bordered table-hover table-bg">
	<thead>
		<tr class="text-c">
			<th>选择</th>
			<th>类型</th>
			<th>收费月份</th>
			<th>租金</th>
			<th>物业费</th>
			<th>水费</th>
			<th>电费</th>
			<th>其他</th>
			<th>应缴金额</th>
			<th>账单状态</th>
		</tr>
	</thead>
	<tbody>
		<?php if(is_array($costorder) && count($costorder)){ ?>
			<?php foreach($costorder as $k=>$ls){ ?>
				<tr class="text-c">
					<td>
						<?php list($y, $m) = explode('-', $ls['month']); ?>
						<?php if($ls['order_type'] == 2){ ?>
						<input type="checkbox" date="{$y}-{$m}" onchange="checkboxClick(this, '{$ls.rates1}', '{$ls.rates2}', '{$y}', '{$m}', '{$ls.order_type}', '{$ls.order_id}')" />
						<?php }else{ ?>
						<!--<input type="checkbox" onclick="checkboxClick(this, '{$ls.rent}', '{$ls.property}', '{$y}', '{$m}', '{$ls.order_type}', '{$ls.order_id}')" />-->
						<?php } ?>
					</td>
					<td>{$ls['order_type'] == 1 ? '固定' : '日常'}</td>
					<td>{$ls['month']}</td>
					<td><p class="c-primary">{$ls['rent']}</p></td>
					<td><p class="c-error">{$ls['property']}</p></td>
					<td><p class="c-success">{$ls['rates1']}</p></td>
					<td><p class="c-success">{$ls['rates2']}</p></td>
					<td><p class="c-success">{$ls['other']}</p></td>
					<td>{$ls['account']}</td>
					<td>{$ls['status'] < 0 ? '未审核' : '未缴费'}</td>
					
				</tr>
			<?php }?>
		<?php }else{ ?>
		<tr class="text-c">
			<td colspan="20" >暂无数据...{$xu}</td>
		</tr>
		<?php } ?>
	</tbody>
</table>